import fetch from 'common/src/utils/fetch';
import baseUrl from './env';
// 获取评分人数据
function getfindTeacherList(data) {
    return fetch({
        url: '/api/baseresservice/teacher/findTeacherList',
        method: 'post',
        data: data
    });
}
// 获取考核列表数据
function getFacultyCheckListData(data) {
    return fetch({
        url: `${baseUrl}/facultyCheck/getFacultyCheckList`,
        method: 'post',
        data
    });
}
// 删除学院考核
function deletefacultyCheck(data) {
    return fetch({
        url: `${baseUrl}/facultyCheck/deleteFacultyCheck`,
        method: 'post',
        data
    });
}
// 新增学院考核
function addFacultyCheck(data) {
    return fetch({
        url: `${baseUrl}/facultyCheck/addFacultyCheck`,
        method: 'post',
        data
    });
}
// 新增学院考核
function editFacultyCheck(data) {
    return fetch({
        url: `${baseUrl}/facultyCheck/editFacultyCheck`,
        method: 'post',
        data
    });
}
// 根据id获取编辑信息
function getFacultyCheckById(params) {
    return fetch({
        url: `${baseUrl}/facultyCheck/getFacultyCheckById`,
        method: 'get',
        params: params
    });
}
export default {
    'getfindTeacherList': getfindTeacherList,
    'getFacultyCheckListData': getFacultyCheckListData,
    'deletefacultyCheck': deletefacultyCheck,
    'addFacultyCheck': addFacultyCheck,
    'getFacultyCheckById': getFacultyCheckById,
    'editFacultyCheck': editFacultyCheck
};

